package cn.xmy.demo01.pojo;

import java.io.Serial;
import java.io.Serializable;

public class Trolley implements Serializable {
    @Serial
    private static final long serialVersionUID = 5285793583412680170L;
    private String id;
    private String trolleyName;
    //商品数量
    private String number;
    //商品单价
    private String price;
    //商品订单总价
    private String total;
    private String img;
    public String ZhiId;
    //0、

    public Trolley(String id, String trolleyName, String number, String price, String total, String img, String zhiId) {
        this.id = id;
        this.trolleyName = trolleyName;
        this.number = number;
        this.price = price;
        this.total = total;
        this.img = img;
        ZhiId = zhiId;
    }

    public Trolley() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTrolleyName() {
        return trolleyName;
    }

    public void setTrolleyName(String trolleyName) {
        this.trolleyName = trolleyName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getZhiId() {
        return ZhiId;
    }

    public void setZhiId(String zhiId) {
        ZhiId = zhiId;
    }
}
